#!/usr/bin/python3.6
# -*- coding: utf-8 -*-
# @Time    : 2024/11/26 12:39
# @Author  : zmz
# @File    : debug_infomation.py
# @function: 日志打印
# @Software: PyCharm

import PySimpleGUI as sg
import datetime

# 打印运行日志
def info(message):
    current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
    output_info = f"[{current_time}] {message}"
    sg.cprint(output_info)
    return output_info
























